Check if <plug> has been assigned with hasmapto()#106
Check if <plug> has been assigned with hasmapto()#106mg979 wants to merge 3 commits intotpope:masterfrom mg979:mg979
Conversation
|
I think using |
|
As you prefer. So I should use |
|
Yes replace |
|
First commit: only mapcheck() You can drop the last two commits if you think it's unnecessary. Thanks |
|
A boolean is returned from |
|
Ok. You can consider this more an issue than a PR. Since you're there, you might consider to add a nmap <buffer><nowait> - <Plug>VinegarUpin |
Using
-as a prefix for other mappings leads to often bring up vinegar when it shouldn't. Basically it's impossible to have-unmapped with the current setup.